package com.pacai.homework;

import java.util.Arrays;

/**
 * @author pacai
 * @version 1.0
 */
public class HomeWork04 {
    static double[] arr = {1,4,6,8};

    public static void main(String[] args) {
        System.out.println(Arrays.toString(A03.copy(arr)));
    }
}

@SuppressWarnings("all")
class A03{
    public static double[] copy(double[] arr){
        double[] array = new double[arr.length];
        for (int i = 0; i < arr.length; i++) {
            array[i] = arr[i];
        }
        return array;

    }
}